package com.aidysoft.practice.log;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogService {
    @Autowired
    LogDao logDao;
    @OperLog(message = "service",operation = OperationType.ADD)
    public void add(SysPolice sysPolice) {
        logDao.add(sysPolice);
    }
}
